home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d10 / hlthrisk.arc / BATCH.DOC < prev    next >
Text File  |  1989-08-04  |  9KB  |  214 lines

  1.           BATCH MODE FOR IBM/PC VERSION OF THE CDC-HRA
  2.  
  3. The   following  documentation  is  intended  to  supplement  the 
  4. original documentation supplied with the IBM/PC programs  written 
  5. by Arden L.  Ashton, Jr., M.D. and Advanced Medical Systems Corp.  
  6. There  are a few tricks that we have learned in dealing with  the 
  7. Batch  Entry  mode  that should assist you and prevent  you  from 
  8. perhaps making some of the same mistakes we did.
  9.  
  10. In  order to utilize the Batch Mode (assuming you have  already 
  11. met   the  hardware  requirements  of  min.   128K   and   double 
  12. density/double  sided disk drives) you must first make sure  that 
  13. all  the  main  program  files and the data tables  for  the  HRA 
  14. program  must all be on the same diskette.   Also the first  step 
  15. once you determine the need to run the batch mode is to make sure 
  16. that  a text editor called EDLIN.COM is on your  diskette.   If 
  17. not,  it should be easy to locate the file on a DOS diskette  and 
  18. copy.
  19.  
  20. INSTRUCTIONS:
  21.  
  22. 1)   At the prompt A> type in the following:
  23.  
  24.      A>EDLIN HDATA
  25.  
  26. 2)   If the HDATA file is not already in existence,  this  first 
  27.      step will also create if for you.
  28.  
  29. 3)   You should now see an editor prompt of " * "
  30.  
  31.      a)   If you already had the file on disk,  chances are  there      
  32.           should be an example data string for you to use as a model.
  33.  
  34.      b)   Type " 1 " which will let you know if there is a  data 
  35.           example  on the file.   This will actually request data 
  36.           line #1 of the file. 
  37.      
  38.     Following is what the string should look like:
  39.  
  40.   *1. EXAMPLE,ONE,J,111111111111,1,1,55,5,7,222,3,0,0,0,0,2,0,0,0,
  41. 3,22000,99,2,3,2,3,2,2,2,2,123,77,211,1,1,1,2,3,3,3,0,0,0,0,0,2,2
  42. ,3,1,1,COL,OH
  43.  
  44. Note:  If you do not have the example on your disk,  you may  use 
  45. this hard copy for your model.
  46.  
  47. 5)   At this point you are ready to enter data.  Simple type  in 
  48.      "2I" and you will get the following prompt:
  49.  
  50.      *2.
  51.  
  52. 6)   If there was no example file on the disk,  you will have to 
  53.      type in "1I" and would get the following prompt:
  54.  
  55.  
  56. 7)   Type in your data string using either the screen  model  or 
  57.      hard  copy  model  as  your  format.   Type  the  string  in 
  58.      continuously  using  no  spaces  and  separating  each  data 
  59.      element  with commas as shown.   Press the <RETURN> key only 
  60.      after  you  complete  one data  string.   The  machine  will 
  61.      automatically set you up to enter the next data string.
  62.   
  63. 8)   When  you have finished entering all the data  strings  and 
  64.      wish  to  save  what you have  entered,  use  the  following 
  65.      procedure:
  66.  
  67.      a)   Press the <CTRL> and <BREAK> keys simultaneously.   You                     
  68.           will  see  the  "  * " prompt appear on  the  far  left                     
  69.           margin.
  70. 5)   At this point you are ready to enter data.  Simple type  in 
  71.      "2I" and you will get the following prompt:
  72.  
  73.      *2.
  74.  
  75. 6)   If there was no example file on the disk,  you will have to 
  76.      type in "1I" and would get the following prompt:
  77.  
  78.  
  79. 7)   Type in your data string using either the screen  model  or 
  80.      hard  copy  model  as  your  format.   Type  the  string  in 
  81.      continuously  using  no  spaces  and  separating  each  data 
  82.      element  with commas as shown.   Press the <RETURN> key only 
  83.      after  you  complete  one data  string.   The  machine  will 
  84.      automatically set you up to enter the next data string.
  85.   
  86. 8)   When  you have finished entering all the data  strings  and 
  87.      wish  to  save  what you have  entered,  use  the  following 
  88.      procedure:
  89.  
  90.      a)   Press the <CTRL> and <BREAK> keys simultaneously.   You                     
  91.           will  see  the  "  * " prompt appear on  the  far  left                     
  92.           margin.
  93.  
  94.      b)   You  should probably delete the first example file  so 
  95.           that it does not actually print.
  96.       
  97.           To  delete  the first record type in  "1D".   What  you 
  98.           began  typing  in  as record #2 will now shift  up  and 
  99.           become record #1.
  100.   
  101.      c)   In order to save what you have typed,  type in  "E"  - 
  102.           this will exit to DOS and save.
  103.  
  104. HOW TO PRINT THE REPORTS FROM DATA NOW IN STORAGE:
  105.  
  106.      1)   It is very easy to print the Health Risk Appraisals now 
  107.           that you have created you data.  Before you start, make 
  108.           sure that your printer is connected and on-line  - that 
  109.           you  also  have  enough paper installed to  handle  the 
  110.           volume of data you've entered.
  111.  
  112.      2)   At the A> type in "HRA1".
  113.  
  114.      3)   If there are any problems with the data  strings,  the 
  115.           print may abort.  Or, if you have accidentally typed in 
  116.  
  117.      b)   You  should probably delete the first example file  so 
  118.           that it does not actually print.
  119.       
  120.           To  delete  the first record type in  "1D".   What  you 
  121.           began  typing  in  as record #2 will now shift  up  and 
  122.           become record #1.
  123.   
  124.      c)   In order to save what you have typed,  type in  "E"  - 
  125.           this will exit to DOS and save.
  126.  
  127. HOW TO PRINT THE REPORTS FROM DATA NOW IN STORAGE:
  128.  
  129.      1)   It is very easy to print the Health Risk Appraisals now 
  130.           that you have created you data.  Before you start, make 
  131.           sure that your printer is connected and on-line  - that 
  132.           you  also  have  enough paper installed to  handle  the 
  133.           volume of data you've entered.
  134.  
  135.      2)   At the A> type in "HRA1".
  136.  
  137.      3)   If there are any problems with the data  strings,  the 
  138.           print may abort.  Or, if you have accidentally typed in 
  139.           an unreasonable number for one of the data elements, it 
  140.           may  print  out  a  line that,  i.e.  " XX  is  not  an 
  141.           acceptable  value  for  age ".  Under  certain  circum-
  142.           stances,  one case may be skipped and the computer will 
  143.           analyze and print the next case. However, in many cases 
  144.           nothing will happen.  DO NOT GET DISCOURAGED!!
  145.  
  146.      4)   You will have to go back to "EDLIN HDATA" and seek  out 
  147.           your  error.   I suggest that you obtain a copy of  the 
  148.           EDLIN  Documentation from the IBM DOS Manual.   In many 
  149.           cases I have found it is a misplaced comma or a  period 
  150.           inserted  instead of a comma.   Make sure there are  no 
  151.           blank spaces.   Once you find your error,  you will  be 
  152.           able  to use the Function keys described in  the  Edlin 
  153.           Documentation to correct your errors.   This is  fairly 
  154.           simple.   Once  you  do this the first time,  you  will 
  155.           become   aware   of   what  to  look   for   and   find 
  156.  
  157.  
  158.      5)   This  supplementary documentation was  prepared 
  159.           for you by:
  160.           
  161.                Deborah Saheli
  162.           an unreasonable number for one of the data elements, it 
  163.           may  print  out  a  line that,  i.e.  " XX  is  not  an 
  164.           acceptable  value  for  age ".  Under  certain  circum-
  165.           stances,  one case may be skipped and the computer will 
  166.           analyze and print the next case. However, in many cases 
  167.           nothing will happen.  DO NOT GET DISCOURAGED!!
  168.  
  169.      4)   You will have to go back to "EDLIN HDATA" and seek  out 
  170.           your  error.   I suggest that you obtain a copy of  the 
  171.           EDLIN  Documentation from the IBM DOS Manual.   In many 
  172.           cases I have found it is a misplaced comma or a  period 
  173.           inserted  instead of a comma.   Make sure there are  no 
  174.           blank spaces.   Once you find your error,  you will  be 
  175.           able  to use the Function keys described in  the  Edlin 
  176.           Documentation to correct your errors.   This is  fairly 
  177.           simple.   Once  you  do this the first time,  you  will 
  178.           become   aware   of   what  to  look   for   and   find 
  179.  
  180.  
  181.      5)   This  supplementary documentation was  prepared 
  182.           for you by:
  183.           
  184.                Deborah Saheli
  185.                OSU Health Optimization Program
  186.                Department of Preventive Medicine
  187.                A-450 Starling Loving Hall
  188.                320 West Tenth Avenue
  189.                Columbus, Ohio  43210
  190.  
  191.                614-421-3998 or 614-421-5439
  192.  
  193.      6)   For  technical assistance or questions concerning  the 
  194.           above  or any phase of operating the IBM/PC version  of 
  195.           the  CDC-HRA,  you may contact either Debbie Saheli  or 
  196.           Gordon Black at the numbers indicated above.
  197.  
  198.  
  199.                OSU Health Optimization Program
  200.                Department of Preventive Medicine
  201.                A-450 Starling Loving Hall
  202.                320 West Tenth Avenue
  203.                Columbus, Ohio  43210
  204.  
  205.                614-421-3998 or 614-421-5439
  206.  
  207.      6)   For  technical assistance or questions concerning  the 
  208.           above  or any phase of operating the IBM/PC version  of 
  209.           the  CDC-HRA,  you may contact either Debbie Saheli  or 
  210.           Gordon Black at the numbers indicated above.
  211.  
  212.  
  213. 
  214.